local skel = fk.CreateSkill {
  name = "rmt__chanyuan",
}

skel:addEffect("invalidity", {
  recheck_invalidity = true,
  invalidity_func = function(self, from, skill)
    return from:hasSkill(self, false, true) and from.hp == 1 and skill:isPlayerSkill(from) and skill.name ~= skel.name
  end
})

Fk:loadTranslationTable{
  ["rmt__chanyuan"] = "缠怨",
  [":rmt__chanyuan"] = "锁定技，若你的体力值为1，你的其他技能失效。",
}

return skel
